<?php
$tdataproforma_invoices_chart=array();
	$tdataproforma_invoices_chart[".NumberOfChars"]=80; 
	$tdataproforma_invoices_chart[".ShortName"]="proforma_invoices_chart";
	$tdataproforma_invoices_chart[".OwnerID"]="";
	$tdataproforma_invoices_chart[".OriginalTable"]="proforma_invoices";


	
//	field labels
$fieldLabelsproforma_invoices_chart = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsproforma_invoices_chart["English"]=array();
	$fieldToolTipsproforma_invoices_chart["English"]=array();
	$fieldLabelsproforma_invoices_chart["English"]["id"] = "Id";
	$fieldToolTipsproforma_invoices_chart["English"]["id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["account_id"] = "Account";
	$fieldToolTipsproforma_invoices_chart["English"]["account_id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["buyer_id"] = "Buyer";
	$fieldToolTipsproforma_invoices_chart["English"]["buyer_id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["consignee_id"] = "Consignee";
	$fieldToolTipsproforma_invoices_chart["English"]["consignee_id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["notify_id"] = "Notify";
	$fieldToolTipsproforma_invoices_chart["English"]["notify_id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["proforma_invoice_no"] = "Proforma Invoice No";
	$fieldToolTipsproforma_invoices_chart["English"]["proforma_invoice_no"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["proforma_invoice_date"] = "Proforma Invoice Date";
	$fieldToolTipsproforma_invoices_chart["English"]["proforma_invoice_date"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["customer_reference"] = "Customer Reference";
	$fieldToolTipsproforma_invoices_chart["English"]["customer_reference"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["customer_reference_date"] = "Customer Reference Date";
	$fieldToolTipsproforma_invoices_chart["English"]["customer_reference_date"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["commercial_invoice_no"] = "Invoice No";
	$fieldToolTipsproforma_invoices_chart["English"]["commercial_invoice_no"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["commercial_invoice_date"] = "Invoice Date";
	$fieldToolTipsproforma_invoices_chart["English"]["commercial_invoice_date"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["term_of_sale1"] = "Term Of Sale 1";
	$fieldToolTipsproforma_invoices_chart["English"]["term_of_sale1"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["term_of_sale2"] = "Term Of Sale 2";
	$fieldToolTipsproforma_invoices_chart["English"]["term_of_sale2"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["shipment_mode_id"] = "Shipment Mode";
	$fieldToolTipsproforma_invoices_chart["English"]["shipment_mode_id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["estimated_shipment_date"] = "Estimated Shipment Date";
	$fieldToolTipsproforma_invoices_chart["English"]["estimated_shipment_date"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["estimated_shipment_date_custom"] = "Estimated Shipment Date Custom";
	$fieldToolTipsproforma_invoices_chart["English"]["estimated_shipment_date_custom"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["additional_charges_frieght_type"] = "Additional Charges Frieght Type";
	$fieldToolTipsproforma_invoices_chart["English"]["additional_charges_frieght_type"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["additional_charges_legalization"] = "Additional Charges Legalization";
	$fieldToolTipsproforma_invoices_chart["English"]["additional_charges_legalization"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["additional_charges_inspection"] = "Additional Charges Inspection";
	$fieldToolTipsproforma_invoices_chart["English"]["additional_charges_inspection"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["additional_charges_special_packing"] = "Additional Charges Special Packing";
	$fieldToolTipsproforma_invoices_chart["English"]["additional_charges_special_packing"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["others1_key"] = "Others 1 ";
	$fieldToolTipsproforma_invoices_chart["English"]["others1_key"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["others2_key"] = "Others 2 ";
	$fieldToolTipsproforma_invoices_chart["English"]["others2_key"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["others3_key"] = "Others 3 ";
	$fieldToolTipsproforma_invoices_chart["English"]["others3_key"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["others1_value"] = "Others 1 Value";
	$fieldToolTipsproforma_invoices_chart["English"]["others1_value"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["others2_value"] = "Others 2 Value";
	$fieldToolTipsproforma_invoices_chart["English"]["others2_value"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["others3_value"] = "Others 3 Value";
	$fieldToolTipsproforma_invoices_chart["English"]["others3_value"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["payment_term_id"] = "Payment Term";
	$fieldToolTipsproforma_invoices_chart["English"]["payment_term_id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["payment_term_other"] = "Payment Term Other";
	$fieldToolTipsproforma_invoices_chart["English"]["payment_term_other"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["bank_name_id"] = "Bank Name";
	$fieldToolTipsproforma_invoices_chart["English"]["bank_name_id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["bank_term1"] = "Bank Term 1";
	$fieldToolTipsproforma_invoices_chart["English"]["bank_term1"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["bank_term2"] = "Bank Term 2";
	$fieldToolTipsproforma_invoices_chart["English"]["bank_term2"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["currency_id"] = "Currency ";
	$fieldToolTipsproforma_invoices_chart["English"]["currency_id"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["terms_and_conditions"] = "Terms And Conditions";
	$fieldToolTipsproforma_invoices_chart["English"]["terms_and_conditions"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["account_address"] = "Account Address";
	$fieldToolTipsproforma_invoices_chart["English"]["account_address"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["buyer_address"] = "Buyer Address";
	$fieldToolTipsproforma_invoices_chart["English"]["buyer_address"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["consignee_address"] = "Consignee Address";
	$fieldToolTipsproforma_invoices_chart["English"]["consignee_address"] = "";
	$fieldLabelsproforma_invoices_chart["English"]["notify_address"] = "Notify Address";
	$fieldToolTipsproforma_invoices_chart["English"]["notify_address"] = "";
	if (count($fieldToolTipsproforma_invoices_chart["English"])){
		$tdataproforma_invoices_chart[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Hong Kong S.A.R.)")
{
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["id"] = "Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["account_id"] = "Account Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["account_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["buyer_id"] = "Buyer Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["buyer_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["consignee_id"] = "Consignee Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["consignee_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["notify_id"] = "Notify Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["notify_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["proforma_invoice_no"] = "Proforma Invoice No";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["proforma_invoice_no"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["proforma_invoice_date"] = "Proforma Invoice Date";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["proforma_invoice_date"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["customer_reference"] = "Customer Reference";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["customer_reference"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["customer_reference_date"] = "Customer Reference Date";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["customer_reference_date"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["commercial_invoice_no"] = "Commercial Invoice No";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["commercial_invoice_no"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["commercial_invoice_date"] = "Commercial Invoice Date";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["commercial_invoice_date"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["term_of_sale1"] = "Term Of Sale1";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["term_of_sale1"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["term_of_sale2"] = "Term Of Sale2";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["term_of_sale2"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["shipment_mode_id"] = "Shipment Mode Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["shipment_mode_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["estimated_shipment_date"] = "Estimated Shipment Date";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["estimated_shipment_date"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["estimated_shipment_date_custom"] = "Estimated Shipment Date Custom";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["estimated_shipment_date_custom"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["additional_charges_frieght_type"] = "Additional Charges Frieght Type";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["additional_charges_frieght_type"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["additional_charges_legalization"] = "Additional Charges Legalization";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["additional_charges_legalization"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["additional_charges_inspection"] = "Additional Charges Inspection";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["additional_charges_inspection"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["additional_charges_special_packing"] = "Additional Charges Special Packing";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["additional_charges_special_packing"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others1_key"] = "Others1 Key";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others1_key"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others2_key"] = "Others2 Key";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others2_key"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others3_key"] = "Others3 Key";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others3_key"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others1_value"] = "Others1 Value";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others1_value"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others2_value"] = "Others2 Value";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others2_value"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others3_value"] = "Others3 Value";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["others3_value"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["payment_term_id"] = "Payment Term Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["payment_term_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["payment_term_other"] = "Payment Term Other";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["payment_term_other"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["bank_name_id"] = "Bank Name Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["bank_name_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["bank_term1"] = "Bank Term1";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["bank_term1"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["bank_term2"] = "Bank Term2";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["bank_term2"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["currency_id"] = "Currency Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["currency_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["terms_and_conditions"] = "Terms And Conditions";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["terms_and_conditions"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["account_address"] = "Account Address";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["account_address"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["buyer_address"] = "Buyer Address";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["buyer_address"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["consignee_address"] = "Consignee Address";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["consignee_address"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["notify_address"] = "Notify Address";
	$fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"]["notify_address"] = "";
	if (count($fieldToolTipsproforma_invoices_chart["Chinese (Hong Kong S.A.R.)"])){
		$tdataproforma_invoices_chart[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Taiwan)")
{
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]=array();
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]=array();
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["id"] = "Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["account_id"] = "Account Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["account_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["buyer_id"] = "Buyer Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["buyer_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["consignee_id"] = "Consignee Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["consignee_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["notify_id"] = "Notify Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["notify_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["proforma_invoice_no"] = "Proforma Invoice No";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["proforma_invoice_no"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["proforma_invoice_date"] = "Proforma Invoice Date";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["proforma_invoice_date"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["customer_reference"] = "Customer Reference";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["customer_reference"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["customer_reference_date"] = "Customer Reference Date";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["customer_reference_date"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["commercial_invoice_no"] = "Invoice No";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["commercial_invoice_no"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["commercial_invoice_date"] = "Invoice Date";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["commercial_invoice_date"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["term_of_sale1"] = "Term Of Sale1";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["term_of_sale1"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["term_of_sale2"] = "Term Of Sale2";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["term_of_sale2"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["shipment_mode_id"] = "Shipment Mode Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["shipment_mode_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["estimated_shipment_date"] = "Estimated Shipment Date";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["estimated_shipment_date"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["estimated_shipment_date_custom"] = "Estimated Shipment Date Custom";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["estimated_shipment_date_custom"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["additional_charges_frieght_type"] = "Additional Charges Frieght Type";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["additional_charges_frieght_type"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["additional_charges_legalization"] = "Additional Charges Legalization";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["additional_charges_legalization"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["additional_charges_inspection"] = "Additional Charges Inspection";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["additional_charges_inspection"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["additional_charges_special_packing"] = "Additional Charges Special Packing";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["additional_charges_special_packing"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["others1_key"] = "Others1 Key";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["others1_key"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["others2_key"] = "Others2 Key";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["others2_key"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["others3_key"] = "Others3 Key";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["others3_key"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["others1_value"] = "Others1 Value";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["others1_value"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["others2_value"] = "Others2 Value";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["others2_value"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["others3_value"] = "Others3 Value";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["others3_value"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["payment_term_id"] = "Payment Term Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["payment_term_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["payment_term_other"] = "Payment Term Other";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["payment_term_other"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["bank_name_id"] = "Bank Name Id";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["bank_name_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["bank_term1"] = "Bank Term1";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["bank_term1"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["bank_term2"] = "Bank Term2";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["bank_term2"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["currency_id"] = "Currency";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["currency_id"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["terms_and_conditions"] = "Terms And Conditions";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["terms_and_conditions"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["account_address"] = "Account Address";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["account_address"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["buyer_address"] = "Buyer Address";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["buyer_address"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["consignee_address"] = "Consignee Address";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["consignee_address"] = "";
	$fieldLabelsproforma_invoices_chart["Chinese (Taiwan)"]["notify_address"] = "Notify Address";
	$fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"]["notify_address"] = "";
	if (count($fieldToolTipsproforma_invoices_chart["Chinese (Taiwan)"])){
		$tdataproforma_invoices_chart[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="French")
{
	$fieldLabelsproforma_invoices_chart["French"]=array();
	$fieldToolTipsproforma_invoices_chart["French"]=array();
	$fieldLabelsproforma_invoices_chart["French"]["id"] = "Id";
	$fieldToolTipsproforma_invoices_chart["French"]["id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["account_id"] = "Account Id";
	$fieldToolTipsproforma_invoices_chart["French"]["account_id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["buyer_id"] = "Buyer Id";
	$fieldToolTipsproforma_invoices_chart["French"]["buyer_id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["consignee_id"] = "Consignee Id";
	$fieldToolTipsproforma_invoices_chart["French"]["consignee_id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["notify_id"] = "Notify Id";
	$fieldToolTipsproforma_invoices_chart["French"]["notify_id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["proforma_invoice_no"] = "Proforma Invoice No";
	$fieldToolTipsproforma_invoices_chart["French"]["proforma_invoice_no"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["proforma_invoice_date"] = "Proforma Invoice Date";
	$fieldToolTipsproforma_invoices_chart["French"]["proforma_invoice_date"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["customer_reference"] = "Customer Reference";
	$fieldToolTipsproforma_invoices_chart["French"]["customer_reference"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["customer_reference_date"] = "Customer Reference Date";
	$fieldToolTipsproforma_invoices_chart["French"]["customer_reference_date"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["commercial_invoice_no"] = "Commercial Invoice No";
	$fieldToolTipsproforma_invoices_chart["French"]["commercial_invoice_no"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["commercial_invoice_date"] = "Commercial Invoice Date";
	$fieldToolTipsproforma_invoices_chart["French"]["commercial_invoice_date"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["term_of_sale1"] = "Term Of Sale1";
	$fieldToolTipsproforma_invoices_chart["French"]["term_of_sale1"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["term_of_sale2"] = "Term Of Sale2";
	$fieldToolTipsproforma_invoices_chart["French"]["term_of_sale2"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["shipment_mode_id"] = "Shipment Mode Id";
	$fieldToolTipsproforma_invoices_chart["French"]["shipment_mode_id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["estimated_shipment_date"] = "Estimated Shipment Date";
	$fieldToolTipsproforma_invoices_chart["French"]["estimated_shipment_date"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["estimated_shipment_date_custom"] = "Estimated Shipment Date Custom";
	$fieldToolTipsproforma_invoices_chart["French"]["estimated_shipment_date_custom"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["additional_charges_frieght_type"] = "Additional Charges Frieght Type";
	$fieldToolTipsproforma_invoices_chart["French"]["additional_charges_frieght_type"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["additional_charges_legalization"] = "Additional Charges Legalization";
	$fieldToolTipsproforma_invoices_chart["French"]["additional_charges_legalization"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["additional_charges_inspection"] = "Additional Charges Inspection";
	$fieldToolTipsproforma_invoices_chart["French"]["additional_charges_inspection"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["additional_charges_special_packing"] = "Additional Charges Special Packing";
	$fieldToolTipsproforma_invoices_chart["French"]["additional_charges_special_packing"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["others1_key"] = "Others1 Key";
	$fieldToolTipsproforma_invoices_chart["French"]["others1_key"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["others2_key"] = "Others2 Key";
	$fieldToolTipsproforma_invoices_chart["French"]["others2_key"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["others3_key"] = "Others3 Key";
	$fieldToolTipsproforma_invoices_chart["French"]["others3_key"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["others1_value"] = "Others1 Value";
	$fieldToolTipsproforma_invoices_chart["French"]["others1_value"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["others2_value"] = "Others2 Value";
	$fieldToolTipsproforma_invoices_chart["French"]["others2_value"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["others3_value"] = "Others3 Value";
	$fieldToolTipsproforma_invoices_chart["French"]["others3_value"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["payment_term_id"] = "Payment Term Id";
	$fieldToolTipsproforma_invoices_chart["French"]["payment_term_id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["payment_term_other"] = "Payment Term Other";
	$fieldToolTipsproforma_invoices_chart["French"]["payment_term_other"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["bank_name_id"] = "Bank Name Id";
	$fieldToolTipsproforma_invoices_chart["French"]["bank_name_id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["bank_term1"] = "Bank Term1";
	$fieldToolTipsproforma_invoices_chart["French"]["bank_term1"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["bank_term2"] = "Bank Term2";
	$fieldToolTipsproforma_invoices_chart["French"]["bank_term2"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["currency_id"] = "Currency Id";
	$fieldToolTipsproforma_invoices_chart["French"]["currency_id"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["terms_and_conditions"] = "Terms And Conditions";
	$fieldToolTipsproforma_invoices_chart["French"]["terms_and_conditions"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["account_address"] = "Account Address";
	$fieldToolTipsproforma_invoices_chart["French"]["account_address"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["buyer_address"] = "Buyer Address";
	$fieldToolTipsproforma_invoices_chart["French"]["buyer_address"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["consignee_address"] = "Consignee Address";
	$fieldToolTipsproforma_invoices_chart["French"]["consignee_address"] = "";
	$fieldLabelsproforma_invoices_chart["French"]["notify_address"] = "Notify Address";
	$fieldToolTipsproforma_invoices_chart["French"]["notify_address"] = "";
	if (count($fieldToolTipsproforma_invoices_chart["French"])){
		$tdataproforma_invoices_chart[".isUseToolTips"]=true;
	}
}


	
	$tdataproforma_invoices_chart[".NCSearch"]=true;

	
	$tdataproforma_invoices_chart[".ChartRefreshTime"] = 0;

$tdataproforma_invoices_chart[".shortTableName"] = "proforma_invoices_chart";
$tdataproforma_invoices_chart[".nSecOptions"] = 0;
$tdataproforma_invoices_chart[".recsPerRowList"] = 1;	
$tdataproforma_invoices_chart[".tableGroupBy"] = "0";
$tdataproforma_invoices_chart[".mainTableOwnerID"] = "";
$tdataproforma_invoices_chart[".moveNext"] = 1;




$tdataproforma_invoices_chart[".showAddInPopup"] = false;

$tdataproforma_invoices_chart[".showEditInPopup"] = false;

$tdataproforma_invoices_chart[".showViewInPopup"] = false;


$tdataproforma_invoices_chart[".fieldsForRegister"] = array();

$tdataproforma_invoices_chart[".listAjax"] = false;

	$tdataproforma_invoices_chart[".audit"] = false;

	$tdataproforma_invoices_chart[".locking"] = false;
	
$tdataproforma_invoices_chart[".listIcons"] = true;
$tdataproforma_invoices_chart[".edit"] = true;
$tdataproforma_invoices_chart[".inlineEdit"] = true;
$tdataproforma_invoices_chart[".view"] = true;



$tdataproforma_invoices_chart[".delete"] = true;

$tdataproforma_invoices_chart[".showSimpleSearchOptions"] = false;

$tdataproforma_invoices_chart[".showSearchPanel"] = true;


$tdataproforma_invoices_chart[".isUseAjaxSuggest"] = true;



// button handlers file names

$tdataproforma_invoices_chart[".addPageEvents"] = false;

$tdataproforma_invoices_chart[".arrKeyFields"][] = "id";

// use datepicker for search panel
$tdataproforma_invoices_chart[".isUseCalendarForSearch"] = true;

// use timepicker for search panel
$tdataproforma_invoices_chart[".isUseTimeForSearch"] = false;

$tdataproforma_invoices_chart[".isUseiBox"] = false;



$tdataproforma_invoices_chart[".isUseInlineJs"] = $tdataproforma_invoices_chart[".isUseInlineAdd"] || $tdataproforma_invoices_chart[".isUseInlineEdit"];

$tdataproforma_invoices_chart[".allSearchFields"] = array();

$tdataproforma_invoices_chart[".globSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "account_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("account_id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "account_id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "buyer_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("buyer_id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "buyer_id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "consignee_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("consignee_id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "consignee_id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "notify_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("notify_id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "notify_id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "proforma_invoice_no";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("proforma_invoice_no", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "proforma_invoice_no";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "proforma_invoice_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("proforma_invoice_date", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "proforma_invoice_date";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "customer_reference";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("customer_reference", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "customer_reference";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "customer_reference_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("customer_reference_date", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "customer_reference_date";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "commercial_invoice_no";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("commercial_invoice_no", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "commercial_invoice_no";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "commercial_invoice_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("commercial_invoice_date", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "commercial_invoice_date";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "term_of_sale1";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("term_of_sale1", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "term_of_sale1";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "term_of_sale2";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("term_of_sale2", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "term_of_sale2";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "shipment_mode_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipment_mode_id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "shipment_mode_id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "estimated_shipment_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("estimated_shipment_date", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "estimated_shipment_date";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "estimated_shipment_date_custom";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("estimated_shipment_date_custom", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "estimated_shipment_date_custom";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "additional_charges_frieght_type";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("additional_charges_frieght_type", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "additional_charges_frieght_type";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "additional_charges_legalization";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("additional_charges_legalization", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "additional_charges_legalization";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "additional_charges_inspection";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("additional_charges_inspection", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "additional_charges_inspection";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "additional_charges_special_packing";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("additional_charges_special_packing", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "additional_charges_special_packing";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "others1_key";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others1_key", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others1_key";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "others2_key";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others2_key", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others2_key";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "others3_key";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others3_key", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others3_key";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "others1_value";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others1_value", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others1_value";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "others2_value";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others2_value", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others2_value";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "others3_value";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others3_value", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others3_value";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "payment_term_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("payment_term_id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "payment_term_id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "payment_term_other";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("payment_term_other", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "payment_term_other";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "bank_name_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("bank_name_id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "bank_name_id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "bank_term1";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("bank_term1", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "bank_term1";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "bank_term2";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("bank_term2", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "bank_term2";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "currency_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("currency_id", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "currency_id";	
}
$tdataproforma_invoices_chart[".globSearchFields"][] = "terms_and_conditions";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("terms_and_conditions", $tdataproforma_invoices_chart[".allSearchFields"]))
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "terms_and_conditions";	
}


$tdataproforma_invoices_chart[".googleLikeFields"][] = "id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "account_id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "buyer_id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "consignee_id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "notify_id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "proforma_invoice_no";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "proforma_invoice_date";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "customer_reference";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "customer_reference_date";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "commercial_invoice_no";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "commercial_invoice_date";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "term_of_sale1";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "term_of_sale2";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "shipment_mode_id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "estimated_shipment_date";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "estimated_shipment_date_custom";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "additional_charges_frieght_type";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "additional_charges_legalization";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "additional_charges_inspection";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "additional_charges_special_packing";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "others1_key";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "others2_key";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "others3_key";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "others1_value";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "others2_value";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "others3_value";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "payment_term_id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "payment_term_other";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "bank_name_id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "bank_term1";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "bank_term2";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "currency_id";
$tdataproforma_invoices_chart[".googleLikeFields"][] = "terms_and_conditions";



$tdataproforma_invoices_chart[".advSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "account_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("account_id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "account_id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "buyer_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("buyer_id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "buyer_id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "consignee_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("consignee_id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "consignee_id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "notify_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("notify_id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "notify_id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "proforma_invoice_no";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("proforma_invoice_no", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "proforma_invoice_no";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "proforma_invoice_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("proforma_invoice_date", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "proforma_invoice_date";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "customer_reference";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("customer_reference", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "customer_reference";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "customer_reference_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("customer_reference_date", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "customer_reference_date";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "commercial_invoice_no";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("commercial_invoice_no", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "commercial_invoice_no";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "commercial_invoice_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("commercial_invoice_date", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "commercial_invoice_date";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "term_of_sale1";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("term_of_sale1", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "term_of_sale1";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "term_of_sale2";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("term_of_sale2", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "term_of_sale2";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "shipment_mode_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipment_mode_id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "shipment_mode_id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "estimated_shipment_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("estimated_shipment_date", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "estimated_shipment_date";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "estimated_shipment_date_custom";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("estimated_shipment_date_custom", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "estimated_shipment_date_custom";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "additional_charges_frieght_type";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("additional_charges_frieght_type", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "additional_charges_frieght_type";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "additional_charges_legalization";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("additional_charges_legalization", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "additional_charges_legalization";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "additional_charges_inspection";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("additional_charges_inspection", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "additional_charges_inspection";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "additional_charges_special_packing";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("additional_charges_special_packing", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "additional_charges_special_packing";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "others1_key";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others1_key", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others1_key";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "others2_key";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others2_key", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others2_key";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "others3_key";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others3_key", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others3_key";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "others1_value";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others1_value", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others1_value";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "others2_value";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others2_value", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others2_value";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "others3_value";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("others3_value", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "others3_value";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "payment_term_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("payment_term_id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "payment_term_id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "payment_term_other";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("payment_term_other", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "payment_term_other";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "bank_name_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("bank_name_id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "bank_name_id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "bank_term1";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("bank_term1", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "bank_term1";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "bank_term2";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("bank_term2", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "bank_term2";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "currency_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("currency_id", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "currency_id";	
}
$tdataproforma_invoices_chart[".advSearchFields"][] = "terms_and_conditions";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("terms_and_conditions", $tdataproforma_invoices_chart[".allSearchFields"])) 
{
	$tdataproforma_invoices_chart[".allSearchFields"][] = "terms_and_conditions";	
}

$tdataproforma_invoices_chart[".isTableType"] = "chart";


	

$tdataproforma_invoices_chart[".isDisplayLoading"] = true;

$tdataproforma_invoices_chart[".isResizeColumns"] = false;




$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdataproforma_invoices_chart[".strOrderBy"] = $gstrOrderBy;
	
$tdataproforma_invoices_chart[".orderindexes"] = array();

$tdataproforma_invoices_chart[".sqlHead"] = "SELECT id,   account_id,   buyer_id,   consignee_id,   notify_id,   proforma_invoice_no,   proforma_invoice_date,   customer_reference,   customer_reference_date,   commercial_invoice_no,   commercial_invoice_date,   term_of_sale1,   term_of_sale2,   shipment_mode_id,   estimated_shipment_date,   estimated_shipment_date_custom,   additional_charges_frieght_type,   additional_charges_legalization,   additional_charges_inspection,   additional_charges_special_packing,   others1_key,   others2_key,   others3_key,   others1_value,   others2_value,   others3_value,   payment_term_id,   payment_term_other,   bank_name_id,   bank_term1,   bank_term2,   currency_id,   terms_and_conditions";
$tdataproforma_invoices_chart[".sqlFrom"] = "FROM proforma_invoices";
$tdataproforma_invoices_chart[".sqlWhereExpr"] = "";
$tdataproforma_invoices_chart[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataproforma_invoices_chart[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataproforma_invoices_chart[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "id";
	$tdataproforma_invoices_chart[".Keys"] = $tableKeys;

//	id
	$fdata = array();
	$fdata["strName"] = "id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		$fdata["AutoInc"]=true;
	
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "id";
	
		$fdata["FullName"]= "id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["id"]=$fdata;
//	account_id
	$fdata = array();
	$fdata["strName"] = "account_id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Account"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "account_id";
	
		$fdata["FullName"]= "account_id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["account_id"]=$fdata;
//	buyer_id
	$fdata = array();
	$fdata["strName"] = "buyer_id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Buyer"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "buyer_id";
	
		$fdata["FullName"]= "buyer_id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 3;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["buyer_id"]=$fdata;
//	consignee_id
	$fdata = array();
	$fdata["strName"] = "consignee_id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Consignee"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "consignee_id";
	
		$fdata["FullName"]= "consignee_id";
	
		
		
		
		
		
				$fdata["Index"]= 4;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["consignee_id"]=$fdata;
//	notify_id
	$fdata = array();
	$fdata["strName"] = "notify_id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Notify"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "notify_id";
	
		$fdata["FullName"]= "notify_id";
	
		
		
		
		
		
				$fdata["Index"]= 5;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["notify_id"]=$fdata;
//	proforma_invoice_no
	$fdata = array();
	$fdata["strName"] = "proforma_invoice_no";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Proforma Invoice No"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "proforma_invoice_no";
	
		$fdata["FullName"]= "proforma_invoice_no";
	
		
		
		
		
		
				$fdata["Index"]= 6;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["proforma_invoice_no"]=$fdata;
//	proforma_invoice_date
	$fdata = array();
	$fdata["strName"] = "proforma_invoice_date";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Proforma Invoice Date"; 
	
		
		
	$fdata["FieldType"]= 7;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "proforma_invoice_date";
	
		$fdata["FullName"]= "proforma_invoice_date";
	
		
		
		
		
		
				$fdata["Index"]= 7;
		$fdata["DateEditType"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["proforma_invoice_date"]=$fdata;
//	customer_reference
	$fdata = array();
	$fdata["strName"] = "customer_reference";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Customer Reference"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "customer_reference";
	
		$fdata["FullName"]= "customer_reference";
	
		
		
		
		
		
				$fdata["Index"]= 8;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=100";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["customer_reference"]=$fdata;
//	customer_reference_date
	$fdata = array();
	$fdata["strName"] = "customer_reference_date";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Customer Reference Date"; 
	
		
		
	$fdata["FieldType"]= 7;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "customer_reference_date";
	
		$fdata["FullName"]= "customer_reference_date";
	
		
		
		
		
		
				$fdata["Index"]= 9;
		$fdata["DateEditType"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["customer_reference_date"]=$fdata;
//	commercial_invoice_no
	$fdata = array();
	$fdata["strName"] = "commercial_invoice_no";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Invoice No"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "commercial_invoice_no";
	
		$fdata["FullName"]= "commercial_invoice_no";
	
		
		
		
		
		
				$fdata["Index"]= 10;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["commercial_invoice_no"]=$fdata;
//	commercial_invoice_date
	$fdata = array();
	$fdata["strName"] = "commercial_invoice_date";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Invoice Date"; 
	
		
		
	$fdata["FieldType"]= 7;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "commercial_invoice_date";
	
		$fdata["FullName"]= "commercial_invoice_date";
	
		
		
		
		
		
				$fdata["Index"]= 11;
		$fdata["DateEditType"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["commercial_invoice_date"]=$fdata;
//	term_of_sale1
	$fdata = array();
	$fdata["strName"] = "term_of_sale1";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Term Of Sale 1"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "term_of_sale1";
	
		$fdata["FullName"]= "term_of_sale1";
	
		
		
		
		
		
				$fdata["Index"]= 12;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["term_of_sale1"]=$fdata;
//	term_of_sale2
	$fdata = array();
	$fdata["strName"] = "term_of_sale2";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Term Of Sale 2"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "term_of_sale2";
	
		$fdata["FullName"]= "term_of_sale2";
	
		
		
		
		
		
				$fdata["Index"]= 13;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["term_of_sale2"]=$fdata;
//	shipment_mode_id
	$fdata = array();
	$fdata["strName"] = "shipment_mode_id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Shipment Mode"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "shipment_mode_id";
	
		$fdata["FullName"]= "shipment_mode_id";
	
		
		
		
		
		
				$fdata["Index"]= 14;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["shipment_mode_id"]=$fdata;
//	estimated_shipment_date
	$fdata = array();
	$fdata["strName"] = "estimated_shipment_date";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Estimated Shipment Date"; 
	
		
		
	$fdata["FieldType"]= 7;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "estimated_shipment_date";
	
		$fdata["FullName"]= "estimated_shipment_date";
	
		
		
		
		
		
				$fdata["Index"]= 15;
		$fdata["DateEditType"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["estimated_shipment_date"]=$fdata;
//	estimated_shipment_date_custom
	$fdata = array();
	$fdata["strName"] = "estimated_shipment_date_custom";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Estimated Shipment Date Custom"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "estimated_shipment_date_custom";
	
		$fdata["FullName"]= "estimated_shipment_date_custom";
	
		
		
		
		
		
				$fdata["Index"]= 16;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["estimated_shipment_date_custom"]=$fdata;
//	additional_charges_frieght_type
	$fdata = array();
	$fdata["strName"] = "additional_charges_frieght_type";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Additional Charges Frieght Type"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "additional_charges_frieght_type";
	
		$fdata["FullName"]= "additional_charges_frieght_type";
	
		
		
		
		
		
				$fdata["Index"]= 17;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["additional_charges_frieght_type"]=$fdata;
//	additional_charges_legalization
	$fdata = array();
	$fdata["strName"] = "additional_charges_legalization";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Additional Charges Legalization"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "additional_charges_legalization";
	
		$fdata["FullName"]= "additional_charges_legalization";
	
		
		
		
		
		
				$fdata["Index"]= 18;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["additional_charges_legalization"]=$fdata;
//	additional_charges_inspection
	$fdata = array();
	$fdata["strName"] = "additional_charges_inspection";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Additional Charges Inspection"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "additional_charges_inspection";
	
		$fdata["FullName"]= "additional_charges_inspection";
	
		
		
		
		
		
				$fdata["Index"]= 19;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["additional_charges_inspection"]=$fdata;
//	additional_charges_special_packing
	$fdata = array();
	$fdata["strName"] = "additional_charges_special_packing";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Additional Charges Special Packing"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "additional_charges_special_packing";
	
		$fdata["FullName"]= "additional_charges_special_packing";
	
		
		
		
		
		
				$fdata["Index"]= 20;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["additional_charges_special_packing"]=$fdata;
//	others1_key
	$fdata = array();
	$fdata["strName"] = "others1_key";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Others 1 "; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "others1_key";
	
		$fdata["FullName"]= "others1_key";
	
		
		
		
		
		
				$fdata["Index"]= 21;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["others1_key"]=$fdata;
//	others2_key
	$fdata = array();
	$fdata["strName"] = "others2_key";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Others 2 "; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "others2_key";
	
		$fdata["FullName"]= "others2_key";
	
		
		
		
		
		
				$fdata["Index"]= 22;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["others2_key"]=$fdata;
//	others3_key
	$fdata = array();
	$fdata["strName"] = "others3_key";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Others 3 "; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "others3_key";
	
		$fdata["FullName"]= "others3_key";
	
		
		
		
		
		
				$fdata["Index"]= 23;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["others3_key"]=$fdata;
//	others1_value
	$fdata = array();
	$fdata["strName"] = "others1_value";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Others 1 Value"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "others1_value";
	
		$fdata["FullName"]= "others1_value";
	
		
		
		
		
		
				$fdata["Index"]= 24;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["others1_value"]=$fdata;
//	others2_value
	$fdata = array();
	$fdata["strName"] = "others2_value";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Others 2 Value"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "others2_value";
	
		$fdata["FullName"]= "others2_value";
	
		
		
		
		
		
				$fdata["Index"]= 25;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["others2_value"]=$fdata;
//	others3_value
	$fdata = array();
	$fdata["strName"] = "others3_value";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Others 3 Value"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "others3_value";
	
		$fdata["FullName"]= "others3_value";
	
		
		
		
		
		
				$fdata["Index"]= 26;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["others3_value"]=$fdata;
//	payment_term_id
	$fdata = array();
	$fdata["strName"] = "payment_term_id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Payment Term"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "payment_term_id";
	
		$fdata["FullName"]= "payment_term_id";
	
		
		
		
		
		
				$fdata["Index"]= 27;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["payment_term_id"]=$fdata;
//	payment_term_other
	$fdata = array();
	$fdata["strName"] = "payment_term_other";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Payment Term Other"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "payment_term_other";
	
		$fdata["FullName"]= "payment_term_other";
	
		
		
		
		
		
				$fdata["Index"]= 28;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["payment_term_other"]=$fdata;
//	bank_name_id
	$fdata = array();
	$fdata["strName"] = "bank_name_id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Bank Name"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "bank_name_id";
	
		$fdata["FullName"]= "bank_name_id";
	
		
		
		
		
		
				$fdata["Index"]= 29;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["bank_name_id"]=$fdata;
//	bank_term1
	$fdata = array();
	$fdata["strName"] = "bank_term1";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Bank Term 1"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "bank_term1";
	
		$fdata["FullName"]= "bank_term1";
	
		
		
		
		
		
				$fdata["Index"]= 30;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["bank_term1"]=$fdata;
//	bank_term2
	$fdata = array();
	$fdata["strName"] = "bank_term2";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Bank Term 2"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "bank_term2";
	
		$fdata["FullName"]= "bank_term2";
	
		
		
		
		
		
				$fdata["Index"]= 31;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["bank_term2"]=$fdata;
//	currency_id
	$fdata = array();
	$fdata["strName"] = "currency_id";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Currency "; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "currency_id";
	
		$fdata["FullName"]= "currency_id";
	
		
		
		
		
		
				$fdata["Index"]= 32;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["currency_id"]=$fdata;
//	terms_and_conditions
	$fdata = array();
	$fdata["strName"] = "terms_and_conditions";
	$fdata["ownerTable"] = "proforma_invoices";
		$fdata["Label"]="Terms And Conditions"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "terms_and_conditions";
	
		$fdata["FullName"]= "terms_and_conditions";
	
		
		
		
		
		
				$fdata["Index"]= 33;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=1500";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdataproforma_invoices_chart["terms_and_conditions"]=$fdata;

$tdataproforma_invoices_chart[".chartXml"] = '<chart>
<attr value="tables">
	<attr value="0">proforma_invoices_chart</attr>
</attr>
<attr value="chart_type">
	<attr value="type">2d_column</attr>
</attr>

<attr value="parameters">
<attr value="0">
<attr value="name">account_id</attr>
<attr value="currencyFormat">0</attr>
<attr value="decimalFormat">2</attr>
<attr value="customFormat">0</attr>
<attr value="customFormatStr"></attr>
</attr>
<attr value="1">
<attr value="name">proforma_invoice_no</attr>
</attr>
</attr>


<attr value="appearance">
	<attr value="scolor11">FF0000</attr>
	<attr value="scolor12">FF0000</attr>

<attr value="head">'.xmlencode("Chart Title").'</attr>
<attr value="foot">'.xmlencode("Legend Title").'</attr>

<attr value="color51">49563A</attr>
<attr value="color52">49563A</attr>
<attr value="color61">49563A</attr>
<attr value="color62">49563A</attr>
<attr value="color71">C7CDC1</attr>
<attr value="color72">C7CDC1</attr>
<attr value="color81">ECF0E8</attr>
<attr value="color82">ECF0E8</attr>
<attr value="color91">68838B</attr>
<attr value="color92">68838B</attr>
<attr value="color101">48505A</attr>
<attr value="color102">48505A</attr>
<attr value="color111">45595F</attr>
<attr value="color112">45595F</attr>
<attr value="color121"></attr>
<attr value="color122"></attr>
<attr value="color131"></attr>
<attr value="color132"></attr>
<attr value="color141"></attr>
<attr value="color142"></attr>

<attr value="slegend">true</attr>
<attr value="sgrid">false</attr>
<attr value="sname">true</attr>
<attr value="sval">true</attr>
<attr value="sanim">true</attr>
<attr value="sstacked">false</attr>
<attr value="saxes">false</attr>
<attr value="slog">false</attr>
<attr value="aqua">None</attr>
<attr value="cview">Column</attr>
<attr value="is3d">0</attr>
<attr value="isstacked">0</attr>
<attr value="linestyle">0</attr>
<attr value="autoupdate">0</attr>
<attr value="autoupmin">5</attr>
<attr value="cscroll">true</attr>
<attr value="maxbarscroll">10</attr>
</attr>

<attr value="fields">
	<attr value="0">
		<attr value="name">id</attr>
		<attr value="label">Id</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="1">
		<attr value="name">account_id</attr>
		<attr value="label">Account</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="2">
		<attr value="name">buyer_id</attr>
		<attr value="label">Buyer</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="3">
		<attr value="name">consignee_id</attr>
		<attr value="label">Consignee</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="4">
		<attr value="name">notify_id</attr>
		<attr value="label">Notify</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="5">
		<attr value="name">proforma_invoice_no</attr>
		<attr value="label">Proforma Invoice No</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="6">
		<attr value="name">proforma_invoice_date</attr>
		<attr value="label">Proforma Invoice Date</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="7">
		<attr value="name">customer_reference</attr>
		<attr value="label">Customer Reference</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="8">
		<attr value="name">customer_reference_date</attr>
		<attr value="label">Customer Reference Date</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="9">
		<attr value="name">commercial_invoice_no</attr>
		<attr value="label">Invoice No</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="10">
		<attr value="name">commercial_invoice_date</attr>
		<attr value="label">Invoice Date</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="11">
		<attr value="name">term_of_sale1</attr>
		<attr value="label">Term Of Sale 1</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="12">
		<attr value="name">term_of_sale2</attr>
		<attr value="label">Term Of Sale 2</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="13">
		<attr value="name">shipment_mode_id</attr>
		<attr value="label">Shipment Mode</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="14">
		<attr value="name">estimated_shipment_date</attr>
		<attr value="label">Estimated Shipment Date</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="15">
		<attr value="name">estimated_shipment_date_custom</attr>
		<attr value="label">Estimated Shipment Date Custom</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="16">
		<attr value="name">additional_charges_frieght_type</attr>
		<attr value="label">Additional Charges Frieght Type</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="17">
		<attr value="name">additional_charges_legalization</attr>
		<attr value="label">Additional Charges Legalization</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="18">
		<attr value="name">additional_charges_inspection</attr>
		<attr value="label">Additional Charges Inspection</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="19">
		<attr value="name">additional_charges_special_packing</attr>
		<attr value="label">Additional Charges Special Packing</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="20">
		<attr value="name">others1_key</attr>
		<attr value="label">Others 1 </attr>
		<attr value="search"></attr>
	</attr>
	<attr value="21">
		<attr value="name">others2_key</attr>
		<attr value="label">Others 2 </attr>
		<attr value="search"></attr>
	</attr>
	<attr value="22">
		<attr value="name">others3_key</attr>
		<attr value="label">Others 3 </attr>
		<attr value="search"></attr>
	</attr>
	<attr value="23">
		<attr value="name">others1_value</attr>
		<attr value="label">Others 1 Value</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="24">
		<attr value="name">others2_value</attr>
		<attr value="label">Others 2 Value</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="25">
		<attr value="name">others3_value</attr>
		<attr value="label">Others 3 Value</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="26">
		<attr value="name">payment_term_id</attr>
		<attr value="label">Payment Term</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="27">
		<attr value="name">payment_term_other</attr>
		<attr value="label">Payment Term Other</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="28">
		<attr value="name">bank_name_id</attr>
		<attr value="label">Bank Name</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="29">
		<attr value="name">bank_term1</attr>
		<attr value="label">Bank Term 1</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="30">
		<attr value="name">bank_term2</attr>
		<attr value="label">Bank Term 2</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="31">
		<attr value="name">currency_id</attr>
		<attr value="label">Currency </attr>
		<attr value="search"></attr>
	</attr>
	<attr value="32">
		<attr value="name">terms_and_conditions</attr>
		<attr value="label">Terms And Conditions</attr>
		<attr value="search"></attr>
	</attr>
</attr>


<attr value="settings">
<attr value="name">id</attr>
<attr value="short_table_name">proforma_invoices_chart</attr>
</attr>

</chart>';
	
$tables_data["proforma_invoices_chart"]=&$tdataproforma_invoices_chart;
$field_labels["proforma_invoices_chart"] = &$fieldLabelsproforma_invoices_chart;
$fieldToolTips["proforma_invoices_chart"] = &$fieldToolTipsproforma_invoices_chart;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["proforma_invoices_chart"] = array();

	
// tables which are master tables for current table (detail)
$masterTablesData["proforma_invoices_chart"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto78=array();
$proto78["m_strHead"] = "SELECT";
$proto78["m_strFieldList"] = "id,   account_id,   buyer_id,   consignee_id,   notify_id,   proforma_invoice_no,   proforma_invoice_date,   customer_reference,   customer_reference_date,   commercial_invoice_no,   commercial_invoice_date,   term_of_sale1,   term_of_sale2,   shipment_mode_id,   estimated_shipment_date,   estimated_shipment_date_custom,   additional_charges_frieght_type,   additional_charges_legalization,   additional_charges_inspection,   additional_charges_special_packing,   others1_key,   others2_key,   others3_key,   others1_value,   others2_value,   others3_value,   payment_term_id,   payment_term_other,   bank_name_id,   bank_term1,   bank_term2,   currency_id,   terms_and_conditions";
$proto78["m_strFrom"] = "FROM proforma_invoices";
$proto78["m_strWhere"] = "";
$proto78["m_strOrderBy"] = "";
$proto78["m_strTail"] = "";
$proto79=array();
$proto79["m_sql"] = "";
$proto79["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto79["m_column"]=$obj;
$proto79["m_contained"] = array();
$proto79["m_strCase"] = "";
$proto79["m_havingmode"] = "0";
$proto79["m_inBrackets"] = "0";
$proto79["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto79);

$proto78["m_where"] = $obj;
$proto81=array();
$proto81["m_sql"] = "";
$proto81["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto81["m_column"]=$obj;
$proto81["m_contained"] = array();
$proto81["m_strCase"] = "";
$proto81["m_havingmode"] = "0";
$proto81["m_inBrackets"] = "0";
$proto81["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto81);

$proto78["m_having"] = $obj;
$proto78["m_fieldlist"] = array();
						$proto83=array();
			$obj = new SQLField(array(
	"m_strName" => "id",
	"m_strTable" => "proforma_invoices"
));

$proto83["m_expr"]=$obj;
$proto83["m_alias"] = "";
$obj = new SQLFieldListItem($proto83);

$proto78["m_fieldlist"][]=$obj;
						$proto85=array();
			$obj = new SQLField(array(
	"m_strName" => "account_id",
	"m_strTable" => "proforma_invoices"
));

$proto85["m_expr"]=$obj;
$proto85["m_alias"] = "";
$obj = new SQLFieldListItem($proto85);

$proto78["m_fieldlist"][]=$obj;
						$proto87=array();
			$obj = new SQLField(array(
	"m_strName" => "buyer_id",
	"m_strTable" => "proforma_invoices"
));

$proto87["m_expr"]=$obj;
$proto87["m_alias"] = "";
$obj = new SQLFieldListItem($proto87);

$proto78["m_fieldlist"][]=$obj;
						$proto89=array();
			$obj = new SQLField(array(
	"m_strName" => "consignee_id",
	"m_strTable" => "proforma_invoices"
));

$proto89["m_expr"]=$obj;
$proto89["m_alias"] = "";
$obj = new SQLFieldListItem($proto89);

$proto78["m_fieldlist"][]=$obj;
						$proto91=array();
			$obj = new SQLField(array(
	"m_strName" => "notify_id",
	"m_strTable" => "proforma_invoices"
));

$proto91["m_expr"]=$obj;
$proto91["m_alias"] = "";
$obj = new SQLFieldListItem($proto91);

$proto78["m_fieldlist"][]=$obj;
						$proto93=array();
			$obj = new SQLField(array(
	"m_strName" => "proforma_invoice_no",
	"m_strTable" => "proforma_invoices"
));

$proto93["m_expr"]=$obj;
$proto93["m_alias"] = "";
$obj = new SQLFieldListItem($proto93);

$proto78["m_fieldlist"][]=$obj;
						$proto95=array();
			$obj = new SQLField(array(
	"m_strName" => "proforma_invoice_date",
	"m_strTable" => "proforma_invoices"
));

$proto95["m_expr"]=$obj;
$proto95["m_alias"] = "";
$obj = new SQLFieldListItem($proto95);

$proto78["m_fieldlist"][]=$obj;
						$proto97=array();
			$obj = new SQLField(array(
	"m_strName" => "customer_reference",
	"m_strTable" => "proforma_invoices"
));

$proto97["m_expr"]=$obj;
$proto97["m_alias"] = "";
$obj = new SQLFieldListItem($proto97);

$proto78["m_fieldlist"][]=$obj;
						$proto99=array();
			$obj = new SQLField(array(
	"m_strName" => "customer_reference_date",
	"m_strTable" => "proforma_invoices"
));

$proto99["m_expr"]=$obj;
$proto99["m_alias"] = "";
$obj = new SQLFieldListItem($proto99);

$proto78["m_fieldlist"][]=$obj;
						$proto101=array();
			$obj = new SQLField(array(
	"m_strName" => "commercial_invoice_no",
	"m_strTable" => "proforma_invoices"
));

$proto101["m_expr"]=$obj;
$proto101["m_alias"] = "";
$obj = new SQLFieldListItem($proto101);

$proto78["m_fieldlist"][]=$obj;
						$proto103=array();
			$obj = new SQLField(array(
	"m_strName" => "commercial_invoice_date",
	"m_strTable" => "proforma_invoices"
));

$proto103["m_expr"]=$obj;
$proto103["m_alias"] = "";
$obj = new SQLFieldListItem($proto103);

$proto78["m_fieldlist"][]=$obj;
						$proto105=array();
			$obj = new SQLField(array(
	"m_strName" => "term_of_sale1",
	"m_strTable" => "proforma_invoices"
));

$proto105["m_expr"]=$obj;
$proto105["m_alias"] = "";
$obj = new SQLFieldListItem($proto105);

$proto78["m_fieldlist"][]=$obj;
						$proto107=array();
			$obj = new SQLField(array(
	"m_strName" => "term_of_sale2",
	"m_strTable" => "proforma_invoices"
));

$proto107["m_expr"]=$obj;
$proto107["m_alias"] = "";
$obj = new SQLFieldListItem($proto107);

$proto78["m_fieldlist"][]=$obj;
						$proto109=array();
			$obj = new SQLField(array(
	"m_strName" => "shipment_mode_id",
	"m_strTable" => "proforma_invoices"
));

$proto109["m_expr"]=$obj;
$proto109["m_alias"] = "";
$obj = new SQLFieldListItem($proto109);

$proto78["m_fieldlist"][]=$obj;
						$proto111=array();
			$obj = new SQLField(array(
	"m_strName" => "estimated_shipment_date",
	"m_strTable" => "proforma_invoices"
));

$proto111["m_expr"]=$obj;
$proto111["m_alias"] = "";
$obj = new SQLFieldListItem($proto111);

$proto78["m_fieldlist"][]=$obj;
						$proto113=array();
			$obj = new SQLField(array(
	"m_strName" => "estimated_shipment_date_custom",
	"m_strTable" => "proforma_invoices"
));

$proto113["m_expr"]=$obj;
$proto113["m_alias"] = "";
$obj = new SQLFieldListItem($proto113);

$proto78["m_fieldlist"][]=$obj;
						$proto115=array();
			$obj = new SQLField(array(
	"m_strName" => "additional_charges_frieght_type",
	"m_strTable" => "proforma_invoices"
));

$proto115["m_expr"]=$obj;
$proto115["m_alias"] = "";
$obj = new SQLFieldListItem($proto115);

$proto78["m_fieldlist"][]=$obj;
						$proto117=array();
			$obj = new SQLField(array(
	"m_strName" => "additional_charges_legalization",
	"m_strTable" => "proforma_invoices"
));

$proto117["m_expr"]=$obj;
$proto117["m_alias"] = "";
$obj = new SQLFieldListItem($proto117);

$proto78["m_fieldlist"][]=$obj;
						$proto119=array();
			$obj = new SQLField(array(
	"m_strName" => "additional_charges_inspection",
	"m_strTable" => "proforma_invoices"
));

$proto119["m_expr"]=$obj;
$proto119["m_alias"] = "";
$obj = new SQLFieldListItem($proto119);

$proto78["m_fieldlist"][]=$obj;
						$proto121=array();
			$obj = new SQLField(array(
	"m_strName" => "additional_charges_special_packing",
	"m_strTable" => "proforma_invoices"
));

$proto121["m_expr"]=$obj;
$proto121["m_alias"] = "";
$obj = new SQLFieldListItem($proto121);

$proto78["m_fieldlist"][]=$obj;
						$proto123=array();
			$obj = new SQLField(array(
	"m_strName" => "others1_key",
	"m_strTable" => "proforma_invoices"
));

$proto123["m_expr"]=$obj;
$proto123["m_alias"] = "";
$obj = new SQLFieldListItem($proto123);

$proto78["m_fieldlist"][]=$obj;
						$proto125=array();
			$obj = new SQLField(array(
	"m_strName" => "others2_key",
	"m_strTable" => "proforma_invoices"
));

$proto125["m_expr"]=$obj;
$proto125["m_alias"] = "";
$obj = new SQLFieldListItem($proto125);

$proto78["m_fieldlist"][]=$obj;
						$proto127=array();
			$obj = new SQLField(array(
	"m_strName" => "others3_key",
	"m_strTable" => "proforma_invoices"
));

$proto127["m_expr"]=$obj;
$proto127["m_alias"] = "";
$obj = new SQLFieldListItem($proto127);

$proto78["m_fieldlist"][]=$obj;
						$proto129=array();
			$obj = new SQLField(array(
	"m_strName" => "others1_value",
	"m_strTable" => "proforma_invoices"
));

$proto129["m_expr"]=$obj;
$proto129["m_alias"] = "";
$obj = new SQLFieldListItem($proto129);

$proto78["m_fieldlist"][]=$obj;
						$proto131=array();
			$obj = new SQLField(array(
	"m_strName" => "others2_value",
	"m_strTable" => "proforma_invoices"
));

$proto131["m_expr"]=$obj;
$proto131["m_alias"] = "";
$obj = new SQLFieldListItem($proto131);

$proto78["m_fieldlist"][]=$obj;
						$proto133=array();
			$obj = new SQLField(array(
	"m_strName" => "others3_value",
	"m_strTable" => "proforma_invoices"
));

$proto133["m_expr"]=$obj;
$proto133["m_alias"] = "";
$obj = new SQLFieldListItem($proto133);

$proto78["m_fieldlist"][]=$obj;
						$proto135=array();
			$obj = new SQLField(array(
	"m_strName" => "payment_term_id",
	"m_strTable" => "proforma_invoices"
));

$proto135["m_expr"]=$obj;
$proto135["m_alias"] = "";
$obj = new SQLFieldListItem($proto135);

$proto78["m_fieldlist"][]=$obj;
						$proto137=array();
			$obj = new SQLField(array(
	"m_strName" => "payment_term_other",
	"m_strTable" => "proforma_invoices"
));

$proto137["m_expr"]=$obj;
$proto137["m_alias"] = "";
$obj = new SQLFieldListItem($proto137);

$proto78["m_fieldlist"][]=$obj;
						$proto139=array();
			$obj = new SQLField(array(
	"m_strName" => "bank_name_id",
	"m_strTable" => "proforma_invoices"
));

$proto139["m_expr"]=$obj;
$proto139["m_alias"] = "";
$obj = new SQLFieldListItem($proto139);

$proto78["m_fieldlist"][]=$obj;
						$proto141=array();
			$obj = new SQLField(array(
	"m_strName" => "bank_term1",
	"m_strTable" => "proforma_invoices"
));

$proto141["m_expr"]=$obj;
$proto141["m_alias"] = "";
$obj = new SQLFieldListItem($proto141);

$proto78["m_fieldlist"][]=$obj;
						$proto143=array();
			$obj = new SQLField(array(
	"m_strName" => "bank_term2",
	"m_strTable" => "proforma_invoices"
));

$proto143["m_expr"]=$obj;
$proto143["m_alias"] = "";
$obj = new SQLFieldListItem($proto143);

$proto78["m_fieldlist"][]=$obj;
						$proto145=array();
			$obj = new SQLField(array(
	"m_strName" => "currency_id",
	"m_strTable" => "proforma_invoices"
));

$proto145["m_expr"]=$obj;
$proto145["m_alias"] = "";
$obj = new SQLFieldListItem($proto145);

$proto78["m_fieldlist"][]=$obj;
						$proto147=array();
			$obj = new SQLField(array(
	"m_strName" => "terms_and_conditions",
	"m_strTable" => "proforma_invoices"
));

$proto147["m_expr"]=$obj;
$proto147["m_alias"] = "";
$obj = new SQLFieldListItem($proto147);

$proto78["m_fieldlist"][]=$obj;
$proto78["m_fromlist"] = array();
												$proto149=array();
$proto149["m_link"] = "SQLL_MAIN";
			$proto150=array();
$proto150["m_strName"] = "proforma_invoices";
$proto150["m_columns"] = array();
$proto150["m_columns"][] = "id";
$proto150["m_columns"][] = "account_id";
$proto150["m_columns"][] = "buyer_id";
$proto150["m_columns"][] = "consignee_id";
$proto150["m_columns"][] = "notify_id";
$proto150["m_columns"][] = "proforma_invoice_no";
$proto150["m_columns"][] = "proforma_invoice_date";
$proto150["m_columns"][] = "customer_reference";
$proto150["m_columns"][] = "customer_reference_date";
$proto150["m_columns"][] = "commercial_invoice_no";
$proto150["m_columns"][] = "commercial_invoice_date";
$proto150["m_columns"][] = "term_of_sale1";
$proto150["m_columns"][] = "term_of_sale2";
$proto150["m_columns"][] = "shipment_mode_id";
$proto150["m_columns"][] = "estimated_shipment_date";
$proto150["m_columns"][] = "estimated_shipment_date_custom";
$proto150["m_columns"][] = "additional_charges_frieght_type";
$proto150["m_columns"][] = "additional_charges_legalization";
$proto150["m_columns"][] = "additional_charges_inspection";
$proto150["m_columns"][] = "additional_charges_special_packing";
$proto150["m_columns"][] = "others1_key";
$proto150["m_columns"][] = "others2_key";
$proto150["m_columns"][] = "others3_key";
$proto150["m_columns"][] = "others1_value";
$proto150["m_columns"][] = "others2_value";
$proto150["m_columns"][] = "others3_value";
$proto150["m_columns"][] = "payment_term_id";
$proto150["m_columns"][] = "payment_term_other";
$proto150["m_columns"][] = "bank_name_id";
$proto150["m_columns"][] = "bank_term1";
$proto150["m_columns"][] = "bank_term2";
$proto150["m_columns"][] = "currency_id";
$proto150["m_columns"][] = "terms_and_conditions";
$obj = new SQLTable($proto150);

$proto149["m_table"] = $obj;
$proto149["m_alias"] = "";
$proto151=array();
$proto151["m_sql"] = "";
$proto151["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto151["m_column"]=$obj;
$proto151["m_contained"] = array();
$proto151["m_strCase"] = "";
$proto151["m_havingmode"] = "0";
$proto151["m_inBrackets"] = "0";
$proto151["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto151);

$proto149["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto149);

$proto78["m_fromlist"][]=$obj;
$proto78["m_groupby"] = array();
$proto78["m_orderby"] = array();
$obj = new SQLQuery($proto78);

$queryData_proforma_invoices_chart = $obj;
$tdataproforma_invoices_chart[".sqlquery"] = $queryData_proforma_invoices_chart;

$tableEvents["proforma_invoices_chart"] = new eventsBase;

?>
